/*
 * Copyright © 2018 Cask Data, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
*/

@import "../../../../../../styles/variables.scss";

.profile-associations {
  &.empty {
    display: flex;
    align-items: center;
    .icon-svg.icon-info-circle {
      font-size: 1rem;
      line-height: 1.1;
    }
    h6 {
      margin-left: 5px;
      margin-bottom: 0;
    }
  }
  .section-label {
    margin-top: 15px;
    margin-bottom: 5px;
  }
  .grid.grid-container {
    max-height: none;
    overflow-x: hidden;
    .grid-row {
      grid-template-columns: 1.5fr 1fr 1.5fr 1fr 1fr 1fr 1fr 1fr 1fr;
      color: $grey-01;
    }
    .grid-header {
      .grid-row {
        border-bottom-width: 2px;
        &.sub-header {
          grid-template-columns: 1.5fr 1fr 1.5fr 1fr 1fr 2fr 0 2fr 0;
          color: $grey-03;
          border-bottom: 0;
          .sub-title {
            border-bottom: 1px solid $grey-05;
            padding: 0;
            margin: 10px 10px 0;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
          }
        }
      }
    }
    .grid-body {
      padding-bottom: 30px;
    }
  }
}
